#include <iostream>
#include <vector>
#include "astarque.h"
using namespace std;

Astarque::Astarque(){
	x_ = 0;
	y_ = 0;
	distanceFromStart_ = 0;
	estimatedTotalDistance_ = 0;
}

Astarque::Astarque(int x, int y, double distanceFromStart, double estimatedTotalDistance, std::vector<Node*> way){
	way_ = way;
	x_ = x;
	y_ = y;
	distanceFromStart_ = distanceFromStart;
	estimatedTotalDistance_ = estimatedTotalDistance;
}

std::vector<Node*> Astarque::getWay(){
	return way_;
}

const int Astarque::getx(){
	return x_;
}

const int Astarque::gety(){
	return y_;
}

const int Astarque::distanceFromStart(){
	return distanceFromStart_;
}

const double Astarque::estimatedTotalDistance(){
	return estimatedTotalDistance_;
}
